import Vue from 'vue'
import App from './App'
import Login from '@/pages/login/login1.vue'
// 注册 登录全局组件
Vue.component('Login',Login);

Vue.config.productionTip = false

import cfg from '@/common/config.js'
Vue.prototype.$cfg = cfg;

import share from '@/common/lib/util/share.js'	// 导入并挂载全局的分享方法
Vue.mixin(share)

import api from '@/common/api/index.js'
Vue.prototype.$api = api;

import '@/common/lib/router'

import * as f from '@/common/lib/f.js'
Vue.prototype.f = f;

// Sheep UI 已移除，使用 thorui 组件库替代

App.mpType = 'app'


const app = new Vue({
    ...App
})
app.$mount()